package cn.net.lwj.singledb.util;

import cn.net.lwj.common.model.BmFy;
import cn.net.lwj.common.util.SpringUtil;
import cn.net.lwj.singledb.mapper.BmFyMapper;
import cn.net.lwj.singledb.mapper.TreeMapper;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.entity.Example;


@Service
public class DaoTool {

    @Autowired
    private SqlSessionTemplate sqlSessionTemplate;
    @Autowired
    SqlSessionFactory factory;

    public <T> List<T> findList(Class<?> clazz, String where) {
        //sqlSessionTemplate.getMapper().selectAll();
        //sqlSessionTemplate.
        //SpringUtil.getBean(clazz).;
        //Example example = new Example();
        return null;

    }

}
